package com.leased.service;

import com.leased.exception.DatabaseException;
import com.leased.pojo.ClientUpdateInfo;
import com.leased.request.client.ClientUpdateRequest;
import com.leased.utils.Page;

/**
 * Created by shencx on 2017/8/16.
 */
public interface ClientUpdateService {

    Integer addClientUpdateInfo(ClientUpdateInfo clientUpdateInfo) throws DatabaseException;

    boolean updateClientInfo(ClientUpdateInfo clientUpdateInfo) throws DatabaseException;

    Page<ClientUpdateInfo> fetchClientUpdateList(ClientUpdateRequest clientUpdateRequest) throws DatabaseException;

    ClientUpdateInfo fetchClientUpdateDetail(Integer id) throws DatabaseException;
}
